<?
$title = "Upload Display Picture";
$pageid = "2";
$accessid = "a00";


require("required/dbconnect.php");
require("required/function.php");
require("required/header.php");


$get = mysql_query("select * from country");
?>
<table width="100%"  cellpadding="0" cellspacing="5" height="300" >

    <td width="100%" align="left" valign="top">
        <?
        while ($a = mysql_fetch_assoc($get)) {
            $country_name = $a['name'];
            $iso = $a['iso'];
            $iso3 = $a['iso3'];

            mysql_query("insert into os_country (engname,iso,iso3,area_type,status)value('$country_name','$iso','$iso3','state','0')");
        }
        echo "done!";
        ?>
    </td>

</table>
<? require("required/footer.php"); ?>
